<?php if (!defined('THINK_PATH')) exit();?>
<?php if($isAjax): ?><!DOCTYPE html>
<html>
    <head>
        <title><?php echo ($title); ?></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="generator" content="GodSon" />
        <meta name="author" content="LUCAS"/>
        <link rel="stylesheet" href="__ROOT____THM__/bootstrap/easyui.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="__ROOT____THM__/bootstrap/bootstrap.css"  type="text/css" media="screen" >

        <link rel="stylesheet" href="__ROOT____THM__/icon.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="__ROOT____CSS__/css.css" type="text/css" media="screen" />

        <script type="text/javascript" src="__ROOT____JS__/core/easyui1.4/jquery.min.js"></script>
        <script type="text/javascript" src="__ROOT____JS__/core/easyui1.4/jquery.easyui.min.js"></script>

        <script type="text/javascript" src="__ROOT____JS__/locale/easyui-lang-zh_CN.js"></script>
        <script type="text/javascript" src="__ROOT____JS__/core/btutil.js"></script>
        <script type="text/javascript" src="__ROOT____JS__/My97DatePicker/WdatePicker.js"></script>



        <script>
            var _ROOT_ = '__ROOT__';
        </script>



    </head>
    <body>
        <div id="bt_loading" class="loading"></div>
        <div id="bt_loading_progress" class="progress">执行中...</div><?php endif; ?>
<script src="__ROOT____JS__/core/esl.js"></script>
<script type="text/javascript" charset="utf-8">
          var oTable;
</script>
<<<<<<< HEAD
=======
  <script>
        function import_check(){

          var f_content = form1.file.value;
            if(f_content==''){
              alert('请选择您要上传的文件！');
              return false;
            }
          var fileext=f_content.substring(f_content.lastIndexOf("."),f_content.length)
          fileext=fileext.toLowerCase()
          if (fileext!='.xls')
          {
            alert("对不起，导入数据格式必须是xls格式文件哦，请您调整格式后重新上传，谢谢！");
            return false;
          }
        }
</script>
          <h1>2014外销数量(只) From FHQR</h1>
          <div id="Seals" style="height:300px"></div>
>>>>>>> 421d9175a2767bf3e4fa121f5eb5a1e98b092ce8
<form method="post" action="<?php echo U('fh/upexcel');?>" enctype="multipart/form-data">
  <h3>导入Excel表：</h3>
  <input  type="file" name="file_stu" />
  <input type="submit"  value="导入" />
</form>
<<<<<<< HEAD
 <div class="jumbotron">

                <div class="container">
                  <div class="row">
                   <div id="graphic" class="span12">
                    <div class="page-header"><h1>外销数量(只)</h1></div>
                    <div id="Seals" style="height:380px"></div>
                   </div>
                  </div>
                </div>
  </div>
<script type="text/javascript" charset="utf-8">
        // 路径配置
var ecs='__ROOT__/Public/Js/echarts';
     require.config({
        paths:{ 
            echarts:ecs,
            'echarts/chart/bar' : ecs,
            'echarts/chart/line': ecs,
            'echarts/chart/pie': ecs,
            'echarts/chart/k': ecs, 
        }
    });
        // 使用
require(
            [
                'echarts',
                'echarts/chart/line',
                'echarts/chart/bar',
                'echarts/chart/pie'
            ],

             function(ec) {
               var myChart = ec.init(document.getElementById('Seals'));
                $.get("<?php echo U('fh/getEChartsdata');?>",function(a){
                  myChart.setOption(a);
                });
                // var option = {
                //     xAxis :{data : ['周一','周二','周三','周四','周五','周六','周日']},
                //     yAxis :{type : 'value'},
                //     series : [
                //             {
                //             type:'line',
                //             data:[820, 932, 901, 934, 1290, 1330, 1320]
                //             },
                // {
                //     name:'2013Y',
                //     type:'line',
                //     data:[25.561918,34.339531,37.468456,20.2387,53.31607,35.546518,47.598572,35.842734,25.73919,27.909795,24.591963,32.37758
                //     ]},
                //       ]
                // };
                // myChart.setOption(option);
            }
)
=======

<script type="text/javascript" charset="utf-8">
        // 路径配置
        var ecs='__ROOT__/Public/Js/core/echarts';
             require.config({
                paths:{ 
                    echarts:ecs,
                    'echarts/chart/bar' : ecs,
                    'echarts/chart/line': ecs,
                    'echarts/chart/pie': ecs,
                    'echarts/chart/k': ecs, 
                }
            });
        // 使用
        require(
                    [
                        'echarts',
                        'echarts/chart/line',
                        'echarts/chart/bar',
                        'echarts/chart/pie'
                    ],

                     function(ec) {
                       var myChart = ec.init(document.getElementById('Seals'));
                        $.get("<?php echo U('fh/getEChartsdata');?>",function(a){myChart.setOption(a);});
                    }
        )
>>>>>>> 421d9175a2767bf3e4fa121f5eb5a1e98b092ce8
</script>